#include "threadPool.h"
#include "train.h"

int netDrivePwd(const char *pathname,int netfd){
     train_t train;
     train.len=strlen(pathname);
     memcpy(train.data,pathname,train.len);

     send(netfd,&train,sizeof(int)+train.len,MSG_NOSIGNAL);

     return 0;
}
